package com.demo.stock.service;

import com.demo.stock.vo.StockVo;

import java.util.List;

/**
 * 批量扣除库存
 *
 * @author admin
 */
public interface AbstractStockService {
    /**
     * 批量扣库
     *
     * @param stockVoList 需要扣库的商品信息
     *
     * @return 是否扣库成功
     */
    boolean batchReduceStock(List<StockVo> stockVoList);
}
